/*
 * @Author: YueLia
 * @Date: 2025-02-21 10:55:51
 * @LastEditors: YueLia
 * @LastEditTime: 2025-02-21 10:58:24
 * @Description:
 */
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import path from "path";

// https://vite.dev/config/
export default defineConfig({
  plugins: [react()],
  resolve: {
    alias: {
      "@": path.resolve(__dirname, "./src"), // @ 代表 src 目录
    },
  },
});
